package com.wan.data.mysql.format;

import com.wan.core.strategy.StrategySelectorCreator;
import com.wan.core.strategy.selector.StrategySingleSelector;

import java.util.Collection;

public class DbFormatStrategyCreator extends StrategySelectorCreator<Void,DbFormat, StrategySingleSelector<Void,DbFormat>> {

    @Override
    protected StrategySingleSelector<Void, DbFormat> newSelector(Collection<DbFormat> objs) {
        return new StrategySingleSelector<>((dbName -> dbName));
    }
}